<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>


    <div class = "root">
        <h1>vue test  {{name.toUpperCase()}} , {{url.toUpperCase()}} </h1>
        <h2>vadada  {{names}}</h2>
        <a :href="url">{{xixi.name}}</a>
        <a :href="xixi.url">baidu</a>
    </div>

    <script type="text/javascript" >
        Vue.config.productionTip = false
        new Vue({
            el:'.root',
            data:{
                name : 'pipi1',
                names : 'ioio1',
                xixi:{
                    url: "http://www.baidu.com",
                    name: "嘘"
                },
                url : "http://www.baidu.com",
                url1 : "http://www.163.com"
            }
        })
    </script>
</body>
</html>